bug: Fix lockup when RLIMIT_NOFILE is large#541
bug: Fix lockup when RLIMIT_NOFILE is large#541markovejnovic wants to merge 2 commits intogoogleprojectzero:mainfrom
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
I have confirmed that this implementation solves my problem. I don't know how helpful this Attaching full Also tested that my docker container successfully runs fuzzilli under root with the absurdly large |
Co-authored-by: taylor.fish <taylor@bun.com>
5b138a2 to
ce758a1
Compare
|
Thanks a lot for providing this PR. Unfortunately, as it is a bit larger and wasn't really urgent for us, I didn't find a chance to review it, yet. I'll try to find some time for it. |
Fixes #540
This PR implements a happy path for closing large arrays of file descriptors on Linux. This could also be implemented on FreeBSD, but I do not have a FreeBSD machine I can test this on.